package com.itany.cloud.exception;

/**
 * @author 石小俊
 */
public class OpenFeignException extends RuntimeException{
    private int errorCode; // 错误码
    private String errorMsg;    // 错误消息

    public OpenFeignException(int errorCode, String errorMsg) {
        super(errorMsg);
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }
}
